	<div id="galleries">
		<!-- displayed when button "show galleries" pressed -->
		<div id="galleryfolders"><div class="head"><%= wp.key(Messages.GUI_GALLERY_GALLERIES_HL_AVAILABLE_0) %></div><div id="galleryfolderlist"></div></div>
		<div id="galleryitems">
			<div id="gallerybuttons">
				<!-- Delete-->
				<button type="button" id="galleryuploadbutton" onclick="$('#galleryitemuploadlink').click();" disabled="disabled" title="<%= wp.key(Messages.GUI_GALLERY_GALLERIES_BUTTON_UPLOAD_0) %>">
				<!-- Delete-->
					 <div> <%= wp.key(Messages.GUI_GALLERY_GALLERIES_BUTTON_UPLOAD_0) %> </div> 
				</button><a href="#" class="thickbox" id="galleryitemuploadlink"></a>
				<button type="button" id="opengallerybutton" class="imagegallery" onclick="showGalleryFolders();" title="<%= wp.key(Messages.GUI_GALLERY_GALLERIES_BUTTON_SHOW_0) %>">
					<div> <%= wp.key(Messages.GUI_GALLERY_GALLERIES_BUTTON_SHOW_0) %> </div>
				</button>
				<button type="button" id="gallerysearchbutton" onclick="openSearchDialog('gallery');" title="<%= wp.key(Messages.GUI_GALLERY_BUTTON_SEARCH_0) %>">
					<div> &nbsp; </div>
				</button>
				<button type="button" id="galleryresetsearchbutton" onclick="resetSearch('gallery');" title="<%= wp.key(Messages.GUI_GALLERY_BUTTON_SEARCH_RESET_0) %>">
					<div> &nbsp;</div>
				</button>
				
				<button type="button" id="gallerypublishbutton" onclick="$('#gallerypublishlink').click();" disabled="disabled" title="<%= wp.key(Messages.GUI_GALLERY_GALLERIES_BUTTON_PUBLISH_0) %>">
					<div> &nbsp; </div> 
				</button><a href="#" class="thickbox" id="gallerypublishlink"></a>
				
			</div>
			<!-- filItems() in imagegalleryfunctions.js  -->
			<div id="galleryitemlist" ><p></p></div>
			
			<!-- the content is set/unset wby "onmouseover"(showItemInfo/hideItemInfo) and "onclick"(markItem) -->
			<div id="galleryiteminfo">
				<table cellspacing="0" cellpadding="0" border="0">
					<tr>
						<td style="width: 59%;" colspan="2" class="iteminfoheadline">
							
							<%= wp.key(Messages.GUI_GALLERY_ITEMDETAIL_HEADLINE_0) %>
							<button id="galleryitemselectbutton" onclick="setActiveItem(galleryItems.markedItem, 'gallery', false);" type="button" title="<%= wp.key(Messages.GUI_GALLERY_ITEMDETAIL_SELECT_0) %>">
								<img src="<%= org.opencms.workplace.CmsWorkplace.getSkinUri() %>buttons/apply.png" />
							</button>
							<button id="galleryitempublishbutton" onclick="publishItem(galleryItems.markedItem, 'gallery');" type="button" title="<%= wp.key(Messages.GUI_GALLERY_ITEMDETAIL_PUBLISH_0) %>">
								<img src="<%= org.opencms.workplace.CmsWorkplace.getSkinUri() %>buttons/publish.png" />
							</button>
							<!-- Delete-->
							<button id="galleryitemdeletebutton" onclick="deleteItem(galleryItems.markedItem, 'gallery');" type="button" title="<%= wp.key(Messages.GUI_GALLERY_ITEMDETAIL_DELETE_0) %>">								
								<img src="<%= org.opencms.workplace.CmsWorkplace.getSkinUri() %>buttons/deletecontent.png" />
							</button>
							<!-- Delete-->
						</td>
						<td style="width: 40%;" colspan="2" class="iteminfostate">
							<span id="galleryitemstate"></span>
						</td>
					</tr>
					<tr>
						<td style="width: 14%;" class="galleryiteminfotitle">
							<%= wp.key(Messages.GUI_GALLERY_ITEMDETAIL_TITLE_0) %>
						</td>
						<td style="width: 85%;" class="galleryiteminfotitle" colspan="3"><div id="galleryitemtitlewrapper"><div id="galleryitemtitle"></div></div></td>
					</tr>
					<tr>
						<td style="width: 14%;">
							<%= wp.key(Messages.GUI_GALLERY_ITEMDETAIL_NAME_0) %>
						</td>
						<td id="galleryitemname" style="width: 45%;"></td>
						<td style="width: 14%;">
							<%= wp.key(Messages.GUI_GALLERY_ITEMDETAIL_DATE_CREATED_0) %>
						</td>
						<td id="galleryitemdc" style="width: 26%;"></td>
					</tr>
					<tr>
						<td>
							<%= wp.key(Messages.GUI_GALLERY_ITEMDETAIL_TYPE_0) %>
						</td>
						<td id="galleryitemtype">&nbsp;</td>
						<td>
							<%= wp.key(Messages.GUI_GALLERY_ITEMDETAIL_DATE_MODIFIED_0) %>
						</td>
						<td id="galleryitemdm">&nbsp;</td>
					</tr>
				</table>
			</div> 
			<!-- Extract to gallerydetailinfo.jsp -->
		</div>
	</div>